var http = require('http');

var server = http.createServer(function(request, response){
    response.writeHead(200, { 'Content-Type': 'text-plain' });
    response.end('Hello World\n');
}).listen(8124);

var chatSever = require('./lib/chat_server');
chatSever.listen(server);